Return to doc.sitecore.com

  State
Prev Next

Sitecore.State of Sitecore V4 was greatly extended and moved to Sitecore.Context.   

The most often used properties by visualization logic are:    

Sitecore V4

Sitecore V5

Sitecore.State.CurrentItem Sitecore.State.MasterItem

Sitecore.Context.Item

Sitecore.State.User

Sitecore.State.ExtranetUser

Sitecore.Context.User

-

Sitecore.Context.Database

-

Sitecore.Context.Domain

Sitecore.State.Language

Sitecore.Context.Language

Supplementary reading:


Prev Next